﻿@model ContactManagement.Models.ContactModel
@{
    ViewBag.Title = GlobalResources.PageTitles.ContactFormularRESX;
}

<div class="span12">
    <h2>@GlobalResources.PageTitles.ContactFormularRESX</h2>
    <hr />
    <div class="well">Nehmen Sie hier direkt Kontakt mit uns auf.</div>
</div>
<div class="span12">
    @using (Html.BeginForm(EActionHome.Contact.ToString(), EControllers.Home.ToString(), FormMethod.Post, new { @class = "form-horizontal" }))
    {
        <fieldset>
            @Html.MyValidationSummary()

            <div class="control-group">
                @Html.LabelFor(model => model.CompanyName, new { @class = "control-label" })

                <div class="controls">
                    @Html.EditorFor(model => model.CompanyName)
                    @Html.ValidationMessageFor(model => model.CompanyName)
                </div>
            </div>

            <div class="control-group">
                @Html.LabelFor(model => model.Name, new { @class = "control-label" })

                <div class="controls">
                    @Html.EditorFor(model => model.Name)
                    @Html.ValidationMessageFor(model => model.Name)
                </div>
            </div>
            <div class="control-group">
                @Html.LabelFor(model => model.EMail, new { @class = "control-label" })

                <div class="controls">
                    @Html.EditorFor(model => model.EMail)
                    @Html.ValidationMessageFor(model => model.EMail)
                </div>
            </div>

            <div class="control-group">
                @Html.LabelFor(model => model.Telephone, new { @class = "control-label" })

                <div class="controls">
                    @Html.EditorFor(model => model.Telephone)
                    @Html.ValidationMessageFor(model => model.Telephone)
                </div>
            </div>

            <div class="control-group">
                @Html.LabelFor(model => model.Message, new { @class = "control-label" })

                <div class="controls">
                    @Html.EditorFor(model => model.Message)
                    @Html.ValidationMessageFor(model => model.Message)
                </div>
            </div>

            <div class="control-group">
                <div class="controls">
                    @ReCaptcha.GetHtml()
                </div>
            </div>


            <div class="form-actions">
                <input class="btn btn-primary" type="submit" value="@GlobalResources.Navigation.SendFormularRESX" />
            </div>
        </fieldset>
    }
</div>

<div class="span12">
    <div class="well">
        @Html.ActionLink(GlobalResources.Navigation.BackToStartpageRESX, EActionHome.Index.ToString(), EControllers.Home.ToString(), null, new { @class = "btn btn-small", data_icon = "icon-arrow-left" })
    </div>
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
